public class assignmentSearchController {
    public Assignment__c a { get; set; }
    
    public Assignment__c[] assigns { get; set; }

    public assignmentSearchController() {
        a = new Assignment__c();
        doSearch();
    }
    
    public pageReference doSearch() {
        assigns = [select Title__c,DueTime__c from Assignment__c];
            
        
        return null;
    }
}